import request, { requestHis } from "@/utils/request";
//查询门诊待收费病人
export const queryClinicChargePat = (data) =>
  requestHis(`/queryClinicChargePat`, { method: "post", data });
// 21查询门诊待收费项目
export const queryClinicChargeItem = (data) =>
  requestHis(`/queryClinicChargeItem`, { method: "post", data });

38
  export const queryOutpPatBill = (data) =>
  requestHis(`/queryOutpPatBill`, { method: "post", data });
  
  export const getOrderList = (data) => request(`/taOrder`, { method: "get", data });
export const addOrder = (data) => request(`/taOrder`, { method: "post", data });
// /api/ma/taOrder
// /api/ma/taOrder
//退费
export const refund = (id) => request(`/taOrder/${id}/refund`, { method: "put" });
// /api/pay/query/{orderNo}
export const payResult = (orderNo) => request(`/pay/query/${orderNo}`, { method: "get" });
// /api/ma/
// export const queryOutpAcctInfo = (data) =>
//   requestHis(`/queryOutpAcctInfo`, { method: "post", data });
  export const queryOutpAcctInfo = (data) =>
  requestHis(`/queryOutpAcctInfo`, { method: "post", backAll: true, data });
